<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>教师</title>
    
    <style>
        
    body {
        font-family: Arial, sans-serif;
        background-color: #c4dbdc;
        margin: 0;
        padding: 20px;
       
    }

    h1 {
        
        text-align: center;
        color: #333;
        padding: 20px 0;
        background-color: #fff;
        border-bottom: 1px solid #ccc;
    }

        p {
        font-size: 2em; /* 设置字体大小为当前基础大小的两倍 */
        text-align: center; /* 文本居中 */
    }

        .ul {
            list-style-type: none;
            padding: 0;
        }

        .li {
            background-color: #ba7878;
            padding: 15px;
            margin-bottom: 8px;
            border: 1px solid #ccc;
            text-align: center;
        }

        h4 {
            text-align: center;
            margin-top: 20px;
        }

    a {
        text-decoration: none;
        color: #007bff;
    }

    a:hover {
        text-decoration: underline;
    }
    h4 {
        text-align: center;
        margin-top: 20px;
    }

    h4 a {
        text-decoration: none;
        padding: 10px 20px;
        background-color: #337ab7;
        color: #fff;
        border-radius: 5px;
    }

    h4 a:hover {
        background-color: #23527c;
    }

    </style>
    
</head>
<body>
    <h1>西亚斯数字技术产业学院</h1>  
    <p>教师信息表</p>
    <ul class="ul">
        {{range $teacher_page, $value := .teacher_slice}}
        <li class="li">
            row: {{$teacher_page }} name: {{$value.Name}} age: {{$value.Age}}
        </li>
        {{end}}
    </ul>
    <h4><a href="/index">返回</a></h4>
</body>
</html>
